//
//  SetLoginItem.h
//  ARP Alert
//
//  Created by James Richardson on 8/1/11.
//  Copyright 2011 Home. All rights reserved.
//

//#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
@interface SetLoginItem : NSObject{
    IBOutlet NSButton *btnToggleLoginItem;
}

- (IBAction)toggleLoginItem:(id)sender;


@end

@interface SetLoginItem (PrivateMethods)
- (void)enableLoginItemWithLoginItemsReference:(LSSharedFileListRef )theLoginItemsRefs ForPath:(NSString *)appPath;
- (void)disableLoginItemWithLoginItemsReference:(LSSharedFileListRef )theLoginItemsRefs ForPath:(NSString *)appPath;
- (BOOL)loginItemExistsWithLoginItemReference:(LSSharedFileListRef)theLoginItemsRefs ForPath:(NSString *)appPath;
@end
